#ifndef QUESTION_H
#define QUESTION_H

#include <QString>
#include <QSqlQuery>
#include <QDebug>
class question
{
public:
    int id;
    QString text;
    QString option;
    question(int id,const QString &,const QString &);

    bool addQuestion(const question &question);
    bool updateQuestion(const question &question);
    bool deleteQuestion(int id);
};

#endif // QUESTION_H
